[2020-06-04T20:00:44.617] [INFO] response - { method: 'GET',
  url: '/editor/controller?action=config&&noCache=1591272044604',
  body: {},
  costTime: 3,
  response:
   { status: 404,
     message: 'Not Found',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '473' },
     body:
      '\n<!DOCTYPE html>\n<html lang="en">\n<head>\n    <meta charset="UTF-8">\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\n    <link rel="stylesheet" href="/stylesheets/error.css">\n    <title>错误信息</title>\n</head>\n<body>\n    <div class="content">\n            <h1>抱歉，找不到你的诗和远方了！</h1>\n            \n            <h2>404</h2>\n            \n    </div>\n</body>\n</html>' } }
[2020-06-04T20:02:05.084] [INFO] response - { method: 'POST',
  url: '/announces/doAdd',
  body:
   { announce_title: 'js比赛',
     announce_status: '0',
     announce_sperson: '李微微',
     announce_phone: '13111111111',
     announce_time: '2020/06/04 20:00',
     announce_photoVal:
      '',
     announce_content: '<p>李薇薇</p><p>打代码</p><p>贼厉害的<br/></p>' },
  costTime: 292,
  response:
   { status: 302,
     message: 'Found',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        location: '/announces/announcelist',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '77' },
     body:
      'Redirecting to <a href="/announces/announcelist">/announces/announcelist</a>.' } }
[2020-06-04T20:02:05.101] [INFO] response - { method: 'GET',
  url: '/announces/announcelist',
  body: {},
  costTime: 8,
  response:
   { status: 200,
     message: 'OK',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '14563' },
     body:
      '<!DOCTYPE html>\r\n<html lang="en">\r\n\r\n<head>\r\n    <meta charset="UTF-8">\r\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\r\n    <link type="text/css" rel="stylesheet" href="/stylesheets/bootstrap.min.css" />\r\n    <title>比赛通告列表</title>\r\n\r\n    <!--引入Jq插件-->\r\n    <script type="text/javascript" src="/javascripts/jquery-1.8.3.min.js"></script>\r\n\r\n    <!--引入base.js用于改变状态-->\r\n    <script type="text/javascript" src="/javascripts/base.js"></script>\r\n\r\n</head>\r\n\r\n<body>\r\n    <div class="panel panel-primary" style="margin: 10px 10px;">\r\n        <div class="panel-heading">\r\n            比赛通告列表\r\n        </div>\r\n\r\n\r\n        <div class="clearfix" style="margin-bottom: 10px;"></div>\r\n        <div class="row">\r\n            <div class="panel-body">\r\n                <form role="form" class="form-inline" method="GET" action="/announces/announcelist">\r\n                    <div class="col-md-offset-1 col-md-2 margin-bottom-15">\r\n                        <label for="name">输入比赛标题</label>\r\n                        <input type="text" class="form-control" id="name" name="keyword"\r\n                            placeholder="请输入比赛标题">\r\n                    </div>\r\n                    <div class="row templatemo-form-buttons">\r\n                        <div class="col-md-2">\r\n                            <button type="submit" class="btn btn-primary" style="margin-top: 24px;margin-left: 20px;">查询</button>\r\n                        </div>\r\n                    </div>\r\n                </form>\r\n            </div>\r\n        </div>\r\n        <div class="clearfix" style="margin-bottom: 10px;"></div>\r\n        <div class="row">\r\n            <div class="col-md-10 col-md-offset-1">\r\n                <div class="table-responsive">\r\n                    <table class="table table-striped table-hover table-bordered">\r\n                        <thead>\r\n                            <tr>\r\n                                <th>比赛通告id</th>\r\n                                <th>比赛通告标题</th>\r\n                                <th>比赛发布人姓名</th>\r\n                                <th>比赛发布人电话</th>\r\n                                <th>比赛通告时间</th>\r\n                                <th>比赛通告类别</th>\r\n                                <th>比赛通告照片</th>\r\n                                <th>操作</th>\r\n                            </tr>\r\n                        </thead>\r\n                        <tbody>\r\n                         \r\n                            \r\n                                <tr>\r\n                                    <td>1</td>\r\n                                    <td>游戏比赛</td>                 \r\n                                    <td>张三</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-25</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/6dqp9jsh3441591260578615.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=1" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/1" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>3</td>\r\n                                    <td>测试2</td>                 \r\n                                    <td>张三</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-26</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=3" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/3" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>4</td>\r\n                                    <td>测试3</td>                 \r\n                                    <td>测试</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-25</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=4" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/4" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>5</td>\r\n                                    <td>测试4</td>                 \r\n                                    <td>测试</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-29</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=5" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/5" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>6</td>\r\n                                    <td>书法比赛</td>                 \r\n                                    <td>李狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=6" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/6" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>7</td>\r\n                                    <td>电子比赛</td>                 \r\n                                    <td>李二狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=7" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/7" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>8</td>\r\n                                    <td>睡觉比赛</td>                 \r\n                                    <td>李三狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/3bf8yy284h1591001205601.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=8" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/8" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>9</td>\r\n                                    <td>学习比赛</td>                 \r\n                                    <td>李威</td>\r\n                                    <td>13111111111</td>\r\n                                    <td>2020-10-05</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/39tpwhyplq1591261896876.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=9" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/9" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>10</td>\r\n                                    <td>打架比赛</td>                 \r\n                                    <td>李新威</td>\r\n                                    <td>12111111111</td>\r\n                                    <td>2020-06-04</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/2b63i14bdkm1591263053657.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=10" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/10" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>11</td>\r\n                                    <td>js比赛</td>                 \r\n                                    <td>李微微</td>\r\n                                    <td>13111111111</td>\r\n                                    <td>2020-06-04</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/7mzdw9j5ww1591272124793.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=11" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/11" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n\r\n                        </tbody>\r\n        </table>\r\n\r\n\r\n        \r\n        \r\n       \r\n\r\n\r\n        </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n</body>\r\n\r\n</html>' } }
[2020-06-04T20:04:59.473] [INFO] response - { method: 'GET',
  url: '/announces/add',
  body: {},
  costTime: 2,
  response:
   { status: 200,
     message: 'OK',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '6528' },
     body:
      '<!DOCTYPE html>\r\n<html lang="en">\r\n\r\n<head>\r\n    <meta charset="UTF-8">\r\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\r\n    <link rel="stylesheet" href="/select/bootstrap/css/bootstrap.min.css" />\r\n    <link href="/select/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet" />\r\n    <link type="text/css" rel="stylesheet" href="/stylesheets/add.css" />\r\n    \r\n    <link rel="stylesheet" type="text/css" href="/stylesheets/mobiscroll-3.0.0.min.css">\r\n    <script src="/select/jquery.min.js"></script>\r\n    <script src="/select/bootstrap/js/bootstrap.min.js"></script>\r\n    <script src="/select/bootstrap-select/js/bootstrap-select.min.js"></script>\r\n    <script src="/select/bootstrap-select/js/i18n/defaults-zh_CN.min.js"></script>\r\n    <script type="text/javascript" src="/javascripts/mobiscroll-3.0.0.min.js"></script>\r\n    \r\n    <!--百度富文本编辑器-->\r\n    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.config.js"></script>\r\n    <script type="text/javascript" charset="utf-8" src="/ueditor/ueditor.all.min.js"> </script>\r\n    <script type="text/javascript" charset="utf-8" src="/ueditor/lang/zh-cn/zh-cn.js"></script>\r\n\r\n    <title>新增通告</title>\r\n</head>\r\n\r\n<body>\r\n    <div class="panel panel-default" >\r\n        <div class="panel-heading">\r\n            新增通告\r\n        </div>\r\n\r\n        <div class="panel-body">\r\n            <div class="input-form">\r\n                <form action="/announces/doAdd" class="form" method="post" enctype="multipart/form-data">\r\n\r\n                    <ul>\r\n                        <li> 通告标题: <input type="text" name="announce_title" /></li>\r\n\r\n                        <li> 通告类别: \r\n                        <select name="announce_status">\r\n                            <option value="0">学术研究类</option>\r\n                            <option value="1">娱乐活动类</option>\r\n                            <option value="2">体育艺术类</option>\r\n                        </select>\r\n                    </li>\r\n\r\n                        <li> 发布人姓名: <input type="text" name="announce_sperson" /></li>\r\n\r\n                        <li> 发布人电话: <input type="text" name="announce_phone" /></li>\r\n\r\n                        <li> 通告时间: <input style="width: 180px; background-color: #ffffff;" id="announce_time" name="announce_time"></li>\r\n\r\n                        <li> 上传比赛图片:\r\n                            <input type="file" name="announce_photo" id="announce_photo"><img alt="预览图片" class="preview"> \r\n                            </li>\r\n                            <li>                           \r\n                            <input type="hidden" id="announce_photoVal" name="announce_photoVal">\r\n                            \r\n                       </li>\r\n                        \r\n                       <li> 通告内容: <script name="announce_content" id="editor" type="text/plain" style="width:800px;height:300px;"></script></li>\r\n\r\n                        <li>\r\n                            <br />\r\n                            <button type="submit" class="btn btn-default submit">提交</button>\r\n                        </li>\r\n\r\n                    </ul>\r\n                   \r\n                </form>\r\n                \r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n\r\n<script>\r\n    //时间插件\r\n    $(function () {\r\n        var now = new Date(),\r\n            minDate = new Date(now.getFullYear() - 20, now.getMonth(), now.getDate()),\r\n            maxDate = new Date(now.getFullYear() + 20, now.getMonth(), now.getDate());\r\n\r\n        mobiscroll.datetime(\'#announce_time\', {\r\n            theme: \'ios\',  //theme：主题，\r\n            lang: \'zh\',\r\n            display: \'inline\', //display:呈现方式，值有top,bottom,inline，\r\n            min: minDate,\r\n            max: maxDate,\r\n            rows:5//显示多少行，定义3就显示3行\r\n        })\r\n    })\r\n\r\n //上传单张图片\r\n $(\'#announce_photo\').change(function () {\r\n        if (this.files.length != 0) {\r\n            var file = this.files[0], //当前文件对象\r\n                reader = new FileReader(); //FileReader接口提供了读取文件的方法和包含读取结果的事件模型\r\n            if (!reader) {\r\n                this.value = \'\';//计算机本地路径清空 例如: C:\\fakepath\\1.jpg---由于浏览器的安全机制，input file的路径时被fakepath代替，隐藏了真实物理路径，保护用户电脑隐私。因为文件路径会暴露你的用户名或者其他内容\r\n                return;\r\n            };\r\n            console.log(file.size, file.type)\r\n            //  if(file.size >= 1024 * 1024 / 2){\r\n            //      fade("请上传小于512kb的图片！")\r\n            //      return\r\n            //  }\r\n            if (!/image/g.test(file.type)) {//判断类型是不是图片\r\n                fade("请上传图片文件!")\r\n                $(\'#announce_photoVal\').val(\'\')\r\n                $(\'form .preview\').attr(\'src\', \'\')\r\n                $(\'form .preview\').fadeOut() //淡出效果来隐藏元素\r\n                return\r\n            }\r\n            reader.onload = function (e) {\r\n                this.value = \'\';\r\n                $(\'form .preview\').attr(\'src\', e.target.result)\r\n                $(\'form .preview\').fadeIn()\r\n                var image = new Image();\r\n                //这里只是回调函数赋值给onload属性，并没有调用。异步事件\r\n                image.onload = function () {\r\n                    var canvas = document.createElement(\'canvas\');\r\n                    var ctx = canvas.getContext("2d");\r\n                    canvas.width = 100;\r\n                    canvas.height = 100;\r\n                    ctx.clearRect(0, 0, 100, 100);//clearRect() 方法清空给定矩形内的指定像素。\r\n                    ctx.drawImage(image, 0, 0, 100, 100);\r\n                    var blob = canvas.toDataURL("image/png");//canvas转换为base64\r\n                    $(\'#announce_photoVal\').val(blob)\r\n                }\r\n                \r\n                image.src = e.target.result\r\n\r\n            };\r\n            reader.readAsDataURL(file);//readAsDataURL方法可以将读取到的文件编码成Data URL,镶嵌在网页中，显示需要用img标签\r\n        };\r\n    })\r\n\r\n\r\n</script>\r\n\r\n<script>\r\n\r\n    var ue = UE.getEditor(\'editor\'); //注意和第五条的 id 对应起来\r\n    \r\n\r\n</script>\r\n     \r\n</body>\r\n\r\n</html>' } }
[2020-06-04T20:04:59.781] [INFO] response - { method: 'GET',
  url: '/editor/controller?action=config&&noCache=1591272299769',
  body: {},
  costTime: 2,
  response:
   { status: 404,
     message: 'Not Found',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '473' },
     body:
      '\n<!DOCTYPE html>\n<html lang="en">\n<head>\n    <meta charset="UTF-8">\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\n    <link rel="stylesheet" href="/stylesheets/error.css">\n    <title>错误信息</title>\n</head>\n<body>\n    <div class="content">\n            <h1>抱歉，找不到你的诗和远方了！</h1>\n            \n            <h2>404</h2>\n            \n    </div>\n</body>\n</html>' } }
[2020-06-04T20:08:36.451] [INFO] response - { method: 'GET',
  url: '/announces/announcelist',
  body: {},
  costTime: 28,
  response:
   { status: 200,
     message: 'OK',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '14588' },
     body:
      '<!DOCTYPE html>\r\n<html lang="en">\r\n\r\n<head>\r\n    <meta charset="UTF-8">\r\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\r\n    <link type="text/css" rel="stylesheet" href="/stylesheets/bootstrap.min.css" />\r\n    <title>比赛通告列表</title>\r\n\r\n    <!--引入Jq插件-->\r\n    <script type="text/javascript" src="/javascripts/jquery-1.8.3.min.js"></script>\r\n\r\n    <!--引入base.js用于改变状态-->\r\n    <script type="text/javascript" src="/javascripts/base.js"></script>\r\n\r\n</head>\r\n\r\n<body>\r\n    <div class="panel panel-primary" style="margin: 10px 10px;">\r\n        <div class="panel-heading">\r\n            比赛通告列表\r\n        </div>\r\n\r\n\r\n        <div class="clearfix" style="margin-bottom: 10px;"></div>\r\n        <div class="row">\r\n            <div class="panel-body">\r\n                <form role="form" class="form-inline" method="GET" action="/announces/announcelist">\r\n                    <div class="col-md-offset-1 col-md-2 margin-bottom-15">\r\n                        <label for="name">输入比赛标题</label>\r\n                        <input type="text" class="form-control" id="name" name="keyword"\r\n                            placeholder="请输入比赛标题">\r\n                    </div>\r\n                    <div class="row templatemo-form-buttons">\r\n                        <div class="col-md-2">\r\n                            <button type="submit" class="btn btn-primary" style="margin-top: 24px;margin-left: 20px;">查询</button>\r\n                        </div>\r\n                    </div>\r\n                </form>\r\n            </div>\r\n        </div>\r\n        <div class="clearfix" style="margin-bottom: 10px;"></div>\r\n        <div class="row">\r\n            <div class="col-md-10 col-md-offset-1">\r\n                <div class="table-responsive">\r\n                    <table class="table table-striped table-hover table-bordered">\r\n                        <thead>\r\n                            <tr>\r\n                                <th>比赛通告id</th>\r\n                                <th>比赛通告标题</th>\r\n                                <th>比赛发布人姓名</th>\r\n                                <th>比赛发布人电话</th>\r\n                                <th>比赛通告时间</th>\r\n                                <th>比赛通告类别</th>\r\n                                <th>比赛通告照片</th>\r\n                                <th>操作</th>\r\n                            </tr>\r\n                        </thead>\r\n                        <tbody>\r\n                         \r\n                            \r\n                                <tr>\r\n                                    <td>1</td>\r\n                                    <td>游戏比赛</td>                 \r\n                                    <td>张三</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-25</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/6dqp9jsh3441591260578615.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=1" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/1" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>3</td>\r\n                                    <td>测试2</td>                 \r\n                                    <td>张三</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-26</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=3" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/3" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>4</td>\r\n                                    <td>测试3</td>                 \r\n                                    <td>测试</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-25</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=4" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/4" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>5</td>\r\n                                    <td>测试4</td>                 \r\n                                    <td>测试</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-29</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=5" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/5" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>6</td>\r\n                                    <td>书法比赛</td>                 \r\n                                    <td>李狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=6" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/6" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>7</td>\r\n                                    <td>电子比赛</td>                 \r\n                                    <td>李二狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=7" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/7" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>8</td>\r\n                                    <td>睡觉比赛</td>                 \r\n                                    <td>李三狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/3bf8yy284h1591001205601.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=8" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/8" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>9</td>\r\n                                    <td>学习比赛</td>                 \r\n                                    <td>李威</td>\r\n                                    <td>13111111111</td>\r\n                                    <td>2020-10-05</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/39tpwhyplq1591261896876.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=9" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/9" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>10</td>\r\n                                    <td>打架比赛</td>                 \r\n                                    <td>李新威</td>\r\n                                    <td>12111111111</td>\r\n                                    <td>2020-06-04</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/2b63i14bdkm1591263053657.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=10" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/10" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>11</td>\r\n                                    <td>js比赛</td>                 \r\n                                    <td>李微微</td>\r\n                                    <td>13111111111</td>\r\n                                    <td>2020-06-04</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/7mzdw9j5ww1591272124793.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=11" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/11" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n\r\n                        </tbody>\r\n        </table>\r\n\r\n\r\n        \r\n        \r\n       \r\n\r\n\r\n        </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n</body>\r\n\r\n</html>' } }
[2020-06-04T20:12:23.548] [INFO] response - { method: 'GET',
  url: '/index',
  body: {},
  costTime: 4,
  response:
   { status: 200,
     message: 'OK',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '3297' },
     body:
      '<!DOCTYPE html>\n<head>\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n<title>后台管理系统</title>\n<link type="text/css" rel="stylesheet" href="/stylesheets/style_index.css" />\n<link type="text/css" rel="stylesheet" href="/stylesheets/bootstrap.min.css" />\n<script type="text/javascript" src="/javascripts/jquery-1.8.3.min.js"></script>\n<script type="text/javascript" src="/javascripts/menu.js"></script>\n</head>\n\n<body>\n<div class="top"></div>\n<div id="header">\n\t<div class="logo">后台管理</div>\n\t<div class="navigation">\n\t\t<ul>\n\t\t \t<li>欢迎您！</li>\n\t\t\t<li>张三</li>\n\t\t\t<li><a href="/logout">退出</a></li>\n\t\t</ul>\n\t</div>\n</div>\n<div id="content">\n\t<div class="left_menu">\n\t\t<ul id="nav_dot">\n\n\t  <li>\n        <h4 class="M1"><span></span>用户管理</h4>\n        <div class="list-item none">\n            <a href=\'/users/userlist\' target="iframe1">用户列表</a>\n        </div>\n        <div class="list-item none">\n            <a href=\'/users/add\' target="iframe1">增加用户</a>\n        </div>        \n\t  </li>\n     \n     \n      <li>\n        <h4 class="M2"><span></span>角色权限管理</h4>\n        <div class="list-item none">\n            <a href=\'/roles/rolelist\' target="iframe1">角色列表</a>\n        </div>\n        <div class="list-item none">\n            <a href=\'/roles/add\' target="iframe1">增加角色</a>\n        </div>\n    </li>\n    \n\n    <li>\n        <h4 class="M3"><span></span>比赛活动管理</h4>\n        <div class="list-item none">\n            <a href=\'/activitys/activitylist\' target="iframe1">比赛活动列表</a>\n        </div>\n        <div class="list-item none">\n            <a href=\'/activitys/examine\' target="iframe1">比赛活动队伍审核</a>\n        </div>       \n    </li>\n\n    <li>\n        <h4 class="M4"><span></span>队伍管理</h4>\n        <div class="list-item none">\n            <a href=\'/teams/teamlist\' target="iframe1">队伍信息列表</a>\n        </div>\n        <div class="list-item none">\n            <a href=\'/teams/task\' target="iframe1">队伍任务表</a>\n        </div>\n        <div class="list-item none">\n            <a href=\'/teams/message\' target="iframe1">队伍留言表</a>\n        </div>\n        \n    </li>\n\n    <li>\n        <h4 class="M5"><span></span>个人信息管理</h4>\n        <div class="list-item none">\n            <a href=\'/myself/myselflist\' target="iframe1">个人审核表</a>\n        </div>\n        <div class="list-item none">\n            <a href=\'/myself/schedel\' target="iframe1">日程表</a>\n        </div>\n        \n    </li>\n\n    <li>\n        <h4 class="M6"><span></span>比赛通告管理</h4>\n        <div class="list-item none">\n            <a href=\'/announces/announcelist\' target="iframe1">比赛通告列表</a>\n        </div>\n        <div class="list-item none">\n            <a href=\'/announces/add\' target="iframe1">增加比赛通告</a>\n        </div>\n    </li>\n\n    </ul>\n    </div>\t\n    <div class="m-right">\n        <div class="main">\n            <iframe frameborder="0" name="iframe1" src="welcome"  scrolling="auto"  width="100%" height="100%">\n                您的浏览器不支持嵌入式框架，或者当前配置为不显示嵌入式框架。\n            </iframe>\n        </div>\n</div>\n</div>\n<script>navList(12);</script>\n</body>\n\n' } }
[2020-06-04T20:12:23.647] [INFO] response - { method: 'GET',
  url: '/welcome',
  body: {},
  costTime: 4,
  response:
   { status: 200,
     message: 'OK',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '478' },
     body:
      '<!DOCTYPE html>\r\n<head>\r\n<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r\n<title>后台管理系统</title>\r\n<link type="text/css" rel="stylesheet" href="/stylesheets/style_index.css" />\r\n<script type="text/javascript" src="/javascripts/jquery-1.8.3.min.js"></script>\r\n<script type="text/javascript" src="/javascripts/menu.js"></script>\r\n</head>\r\n\r\n<body>\r\n\r\n    <div class="jumbotron">\r\n        <h1>Hello, world!</h1>\r\n      </div>\r\n\r\n\r\n</body>\r\n</html>\r\n' } }
[2020-06-04T20:12:23.671] [INFO] response - { method: 'GET',
  url: '/favicon.ico',
  body: {},
  costTime: 3,
  response:
   { status: 404,
     message: 'Not Found',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '473' },
     body:
      '\n<!DOCTYPE html>\n<html lang="en">\n<head>\n    <meta charset="UTF-8">\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\n    <link rel="stylesheet" href="/stylesheets/error.css">\n    <title>错误信息</title>\n</head>\n<body>\n    <div class="content">\n            <h1>抱歉，找不到你的诗和远方了！</h1>\n            \n            <h2>404</h2>\n            \n    </div>\n</body>\n</html>' } }
[2020-06-04T20:12:25.999] [INFO] response - { method: 'GET',
  url: '/announces/announcelist',
  body: {},
  costTime: 11,
  response:
   { status: 200,
     message: 'OK',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '14588' },
     body:
      '<!DOCTYPE html>\r\n<html lang="en">\r\n\r\n<head>\r\n    <meta charset="UTF-8">\r\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\r\n    <link type="text/css" rel="stylesheet" href="/stylesheets/bootstrap.min.css" />\r\n    <title>比赛通告列表</title>\r\n\r\n    <!--引入Jq插件-->\r\n    <script type="text/javascript" src="/javascripts/jquery-1.8.3.min.js"></script>\r\n\r\n    <!--引入base.js用于改变状态-->\r\n    <script type="text/javascript" src="/javascripts/base.js"></script>\r\n\r\n</head>\r\n\r\n<body>\r\n    <div class="panel panel-primary" style="margin: 10px 10px;">\r\n        <div class="panel-heading">\r\n            比赛通告列表\r\n        </div>\r\n\r\n\r\n        <div class="clearfix" style="margin-bottom: 10px;"></div>\r\n        <div class="row">\r\n            <div class="panel-body">\r\n                <form role="form" class="form-inline" method="GET" action="/announces/announcelist">\r\n                    <div class="col-md-offset-1 col-md-2 margin-bottom-15">\r\n                        <label for="name">输入比赛标题</label>\r\n                        <input type="text" class="form-control" id="name" name="keyword"\r\n                            placeholder="请输入比赛标题">\r\n                    </div>\r\n                    <div class="row templatemo-form-buttons">\r\n                        <div class="col-md-2">\r\n                            <button type="submit" class="btn btn-primary" style="margin-top: 24px;margin-left: 20px;">查询</button>\r\n                        </div>\r\n                    </div>\r\n                </form>\r\n            </div>\r\n        </div>\r\n        <div class="clearfix" style="margin-bottom: 10px;"></div>\r\n        <div class="row">\r\n            <div class="col-md-10 col-md-offset-1">\r\n                <div class="table-responsive">\r\n                    <table class="table table-striped table-hover table-bordered">\r\n                        <thead>\r\n                            <tr>\r\n                                <th>比赛通告id</th>\r\n                                <th>比赛通告标题</th>\r\n                                <th>比赛发布人姓名</th>\r\n                                <th>比赛发布人电话</th>\r\n                                <th>比赛通告时间</th>\r\n                                <th>比赛通告类别</th>\r\n                                <th>比赛通告照片</th>\r\n                                <th>操作</th>\r\n                            </tr>\r\n                        </thead>\r\n                        <tbody>\r\n                         \r\n                            \r\n                                <tr>\r\n                                    <td>1</td>\r\n                                    <td>游戏比赛</td>                 \r\n                                    <td>张三</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-25</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/6dqp9jsh3441591260578615.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=1" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/1" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>3</td>\r\n                                    <td>测试2</td>                 \r\n                                    <td>张三</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-26</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=3" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/3" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>4</td>\r\n                                    <td>测试3</td>                 \r\n                                    <td>测试</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-25</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=4" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/4" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>5</td>\r\n                                    <td>测试4</td>                 \r\n                                    <td>测试</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-05-29</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=5" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/5" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>6</td>\r\n                                    <td>书法比赛</td>                 \r\n                                    <td>李狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=6" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/6" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>7</td>\r\n                                    <td>电子比赛</td>                 \r\n                                    <td>李二狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/5w9bu68f211590999949296.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=7" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/7" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>8</td>\r\n                                    <td>睡觉比赛</td>                 \r\n                                    <td>李三狗</td>\r\n                                    <td>12049213850</td>\r\n                                    <td>2020-06-01</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/3bf8yy284h1591001205601.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=8" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/8" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>9</td>\r\n                                    <td>学习比赛</td>                 \r\n                                    <td>李威</td>\r\n                                    <td>13111111111</td>\r\n                                    <td>2020-10-05</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>娱乐活动类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/39tpwhyplq1591261896876.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=9" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/9" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>10</td>\r\n                                    <td>打架比赛</td>                 \r\n                                    <td>李新威</td>\r\n                                    <td>12111111111</td>\r\n                                    <td>2020-06-04</td>\r\n                                    <td>\r\n\r\n                                        \r\n                \r\n                                            <p>体育艺术类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/2b63i14bdkm1591263053657.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=10" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/10" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n                                <tr>\r\n                                    <td>11</td>\r\n                                    <td>js比赛</td>                 \r\n                                    <td>李微微</td>\r\n                                    <td>13111111111</td>\r\n                                    <td>2020-06-04</td>\r\n                                    <td>\r\n\r\n                                        \r\n                                         \r\n                                            <p>学术研究类</p>\r\n                \r\n                                        \r\n                                      \r\n                                      </td>\r\n                                    <td><img src="/uploads/7mzdw9j5ww1591272124793.png" alt="" style="width: 80px;height: 80px;"></td>\r\n                                    <td>\r\n                                        <a href="/announces/edit?id=11" class="btn btn-info">修改</a>\r\n                                        <a href="/announces/delect/11" class="btn btn-danger delete">删除</a>\r\n                                    </td>\r\n                                </tr>\r\n           \r\n                            \r\n\r\n                        </tbody>\r\n        </table>\r\n\r\n\r\n        \r\n        \r\n       \r\n\r\n\r\n        </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n\r\n\r\n\r\n\r\n</body>\r\n\r\n</html>' } }
[2020-06-04T20:12:27.090] [INFO] response - { method: 'GET',
  url: '/announces/edit?id=1',
  body: {},
  costTime: 8,
  response:
   { status: 200,
     message: 'OK',
     header:
      [Object: null prototype] {
        vary: 'Origin',
        'access-control-allow-origin': 'http://localhost:8080',
        'access-control-allow-credentials': 'true',
        'access-control-expose-headers': 'WWW-Authenticate,Server-Authorization',
        'content-type': 'text/html; charset=utf-8',
        'content-length': '6568' },
     body:
      '<!DOCTYPE html>\r\n<html lang="en">\r\n\r\n<head>\r\n    <meta charset="UTF-8">\r\n    <meta name="viewport" content="width=device-width, initial-scale=1.0">\r\n    <meta http-equiv="X-UA-Compatible" content="ie=edge">\r\n    <link rel="stylesheet" href="/select/bootstrap/css/bootstrap.min.css" />\r\n    <link href="/select/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet" />\r\n    <link type="text/css" rel="stylesheet" href="/stylesheets/add.css" />\r\n    \r\n    <link rel="stylesheet" type="text/css" href="/stylesheets/mobiscroll-3.0.0.min.css">\r\n    <script src="/select/jquery.min.js"></script>\r\n    <script src="/select/bootstrap/js/bootstrap.min.js"></script>\r\n    <script src="/select/bootstrap-select/js/bootstrap-select.min.js"></script>\r\n    <script src="/select/bootstrap-select/js/i18n/defaults-zh_CN.min.js"></script>\r\n    <script type="text/javascript" src="/javascripts/mobiscroll-3.0.0.min.js"></script>\r\n    \r\n\r\n    <title>新增通告</title>\r\n</head>\r\n\r\n<body>\r\n    <div class="panel panel-default" >\r\n        <div class="panel-heading">\r\n            新增通告\r\n        </div>\r\n\r\n        <div class="panel-body">\r\n            <div class="input-form">\r\n                <form action="/announces/doEdit" class="form" method="post" enctype="multipart/form-data">\r\n\r\n                    <ul>\r\n                        <input type="hidden" name="id" value="1">\r\n\r\n                        <li> 通告标题: <input type="text" name="announce_title" value="游戏比赛"/></li>\r\n\r\n                        <li> 通告类别: \r\n                            <select name="announce_status">\r\n                                <option value="0"  >学术研究类</option>\r\n                                <option value="1"  >娱乐活动类</option>\r\n                                <option value="2"  >体育艺术类</option>\r\n                            </select>\r\n                        </li>\r\n\r\n                        <li> 发布人姓名: <input type="text" name="announce_sperson" value="张三"/></li>\r\n\r\n                        <li> 发布人电话: <input type="text" name="announce_phone" value="12049213850"/></li>\r\n\r\n                        <li> 通告时间: <input style="width: 180px; background-color: #ffffff;" id="announce_time" name="announce_time" value="2020-05-25"></li>\r\n\r\n                        <li>\r\n                            <li>原图片：\r\n                            <img src="/uploads/6dqp9jsh3441591260578615.png" alt="" style="width: 80px;height: 80px;">\r\n                            </li>\r\n                            <li>上传新图片：\r\n                            <input type="file" name="announce_photo" id="announce_photo">                                                                                  \r\n                            <input type="hidden" id="announce_photoVal" name="announce_photoVal">\r\n                            \r\n                                <img alt="预览图片" class="preview">\r\n                                \r\n                            </li>\r\n                       </li>\r\n                        \r\n                        <li> 通告内容: <textarea name="announce_content" cols="60" rows="4" value="1111111"></textarea></li>\r\n\r\n                        <li>\r\n                            <br />\r\n                            <button type="submit" class="btn btn-default submit">提交</button>\r\n                        </li>\r\n\r\n                    </ul>\r\n                   \r\n                </form>\r\n                \r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n\r\n<script>\r\n    //时间插件\r\n    $(function () {\r\n        var now = new Date(),\r\n            minDate = new Date(now.getFullYear() - 20, now.getMonth(), now.getDate()),\r\n            maxDate = new Date(now.getFullYear() + 20, now.getMonth(), now.getDate());\r\n\r\n            mobiscroll.datetime(\'#announce_time\', {\r\n            theme: \'ios\',  //theme：主题，\r\n            lang: \'zh\',\r\n            display: \'inline\', //display:呈现方式，值有top,bottom,inline，\r\n            min: minDate,\r\n            max: maxDate,\r\n            rows:5//显示多少行，定义3就显示3行\r\n        })\r\n    })\r\n\r\n //上传单张图片\r\n $(\'#announce_photo\').change(function () {\r\n        if (this.files.length != 0) {\r\n            var file = this.files[0], //当前文件对象\r\n                reader = new FileReader(); //FileReader接口提供了读取文件的方法和包含读取结果的事件模型\r\n            if (!reader) {\r\n                this.value = \'\';//计算机本地路径清空 例如: C:\\fakepath\\1.jpg---由于浏览器的安全机制，input file的路径时被fakepath代替，隐藏了真实物理路径，保护用户电脑隐私。因为文件路径会暴露你的用户名或者其他内容\r\n                return;\r\n            };\r\n            console.log(file.size, file.type)\r\n            //  if(file.size >= 1024 * 1024 / 2){\r\n            //      fade("请上传小于512kb的图片！")\r\n            //      return\r\n            //  }\r\n            if (!/image/g.test(file.type)) {//判断类型是不是图片\r\n                fade("请上传图片文件!")\r\n                $(\'#announce_photoVal\').val(\'\')\r\n                $(\'form .preview\').attr(\'src\', \'\')\r\n                $(\'form .preview\').fadeOut() //淡出效果来隐藏元素\r\n                return\r\n            }\r\n            reader.onload = function (e) {\r\n                this.value = \'\';\r\n                $(\'form .preview\').attr(\'src\', e.target.result)\r\n                $(\'form .preview\').fadeIn()\r\n                var image = new Image();\r\n                //这里只是回调函数赋值给onload属性，并没有调用。异步事件\r\n                image.onload = function () {\r\n                    var canvas = document.createElement(\'canvas\');\r\n                    var ctx = canvas.getContext("2d");\r\n                    canvas.width = 100;\r\n                    canvas.height = 100;\r\n                    ctx.clearRect(0, 0, 100, 100);//clearRect() 方法清空给定矩形内的指定像素。\r\n                    ctx.drawImage(image, 0, 0, 100, 100);\r\n                    var blob = canvas.toDataURL("image/png");//canvas转换为base64\r\n                    $(\'#announce_photoVal\').val(blob)\r\n                }\r\n                \r\n                image.src = e.target.result\r\n\r\n            };\r\n            reader.readAsDataURL(file);//readAsDataURL方法可以将读取到的文件编码成Data URL,镶嵌在网页中，显示需要用img标签\r\n        };\r\n    })\r\n\r\n\r\n</script>\r\n\r\n\r\n     \r\n</body>\r\n\r\n</html>' } }
